package client.comm.baoding.api.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

data class GoodsOrder(
    val order_list: List<Order>
) {
    @Parcelize
    data class Order(
        val actual_price: Double,
//        var lpq_price: Double,//体验券
        val create_time: String? = "",
        val freight: Int,
        val goods_num: Int,
        val goods_name: String? = "",
        val goods_img: String? = "",
        val goods_status: Int,
        val wait_status: String,
        val wait_id: String,
        val logistics_name: String? = "",
        val logistics_num: String? = "",
        val order_id: String,
        val integral: Double,
        val status_str: String,
        val pay_type: Int,
        val status: Int, //1待支付 2待发货 3待收货 4已完成
        val total_num: Int,
        val back_status: Int,
        val total_price: String? = "",
        val coupons_price: Double,
        val trade_no: String? = "",
        val wait_str: String? = "",
        val order_img: String? = "",
        val back_status_str: String? = "",
        val n_buy: String? = "",//释放总数
        val n_buy_now: String? = "",//n_buy_now
        val update_time: String? = "",
        val send_date: String? = "", //赠送期
        val send_money: String?, //
        val can_sign: Int = 0, //
        val now_money: String, //
        val goods_list: List<Goods>,
        val address_list: List<Address>,
        val remark: String? = "", //备注

        val r_integral: String?,//转换总数
        val r_days: String?,//释放天数

//        转换总数  释放总数   剩余释放  释放天数
//        r_integral   n_buy    n_buy_now   r_days


    ) : Parcelable

    @Parcelize
    data class Goods(
        val create_time: String,
        val goods_freight: Int,
        val goods_id: Int,
        val order_goods_id: String,
        val goods_img: String,
        val goods_name: String,
        val goods_num: Int,
        val goods_status: Int,
        val id: Int,
        val order_id: Int,
        val price: Double,
        var lpq_price: Double,//体验券
        val integral: Double,
        val status: Int,
        val total_price: Double,
        val sku: String,//规格

    ) : Parcelable

    @Parcelize
    data class Address(
        val address_id: String,
        val city: String,
        val district: String,
        val name: String,
        val status: Int,
        val phone: String,
        val place: String,
        val province: String
    ) : Parcelable
}